package cn.melonlib.cores.commons.model.support.number_id;

import cn.melonlib.cores.commons.model.entity.TenantEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@Data
@EqualsAndHashCode(callSuper = true)
@MappedSuperclass
public class MelonLibLongTenantRecordEntity extends MelonLibLongRecordEntity implements TenantEntity {

    @ModelComment("租户ID")
    private String tenantId;
    @Column(length = 2000)
    @ModelComment("租户快照信息")
    private String tenant;

    @ModelComment("租户编号")
    private String tenantCode;

    @ModelComment("租户名称")
    private String tenantName;

    @ModelComment("是否删除")
    private Boolean removed;
}
